package net.stogi.dsper.ui.shared.module.login;

import net.stogi.common.gwt.dispatch.shared.core.Result;
import net.stogi.dsper.api.dto.UserDto;

public class GetUserByUsernameResult implements Result {

	private static final long serialVersionUID = 899869795688602671L;

	private UserDto user;

	public GetUserByUsernameResult(UserDto user) {
		this.user = user;
	}

	protected GetUserByUsernameResult() {}

	/**
	 * @return the user
	 */
	public UserDto getUser() {
		return user;
	}

	/**
	 * @param user
	 *            the user to set
	 */
	public void setUser(UserDto user) {
		this.user = user;
	}
}
